package com.im.common.enums.command;

/**
 * 会话事件命令枚举
 */
public enum ConversationEventCommand implements Command {

    CONVERSATION_DELETE(5000, "删除会话"),
    CONVERSATION_UPDATE(5001, "更新会话");

    private int command;
    private String desc;

    /**
     * 构造函数
     *
     * @param command 命令值
     */
    ConversationEventCommand(int command, String desc) {
        this.command = command;
        this.desc = desc;
    }

    @Override
    public int getCommand() {
        return command;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
